package com.wondertek.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author xqs
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "upload-config")
public class UploadConfig {

    /**
     * 文件目录
     */
    private String directory;

    /**
     * 预览前缀
     */
    private String viewPrefix;

    /**
     * 下载前缀
     */
    private String downloadPrefix;
}
